﻿@model SimpleMVC.Models.Teacher
@{
    ViewBag.Title = "ShowTeacher";
}

<h2>ShowTeacher</h2>
<div>
    @Html.LabelFor(x=>x.Name)
    @Html.DisplayFor(x=>x.Name)
    @Html.LabelFor(x => x.Age)
    @Html.DisplayFor(x => x.Age)
</div>

